<!--
 * @Author: wuzhen
 * @Date: 2020-01-17 09:44:08
 * @LastEditors  : wuzhen
 * @LastEditTime : 2020-01-17 09:50:09
 * @Description: 头部注释
 -->
<template>
  <div class="img" style="width:100%;">
    <img :src="`${imgUrl}/${type}_128/${src}`" style="width:100%">
  </div>
</template>
<script>
import { imgUrl } from "@/config/";
export default {
  props: {
    src: {
      type: String,
      default: ""
    },
    type: {
      tyep: String,
      default: "face"
    }
  },
  data() {
    return {
      imgUrl: imgUrl
    };
  }
};
</script>